<template>
  <div  @click="logoReturn" >
    <div class="logo">
      <img src="../../public/img/maomi.svg" style="width: 50px; height: 50px">
    </div>
    <div class="logoText">
      问卷星球
    </div>
  </div>
</template>

<script>
export default {
  name: "ProjectLogo",
  methods: {
    logoReturn() {
      console.log('output');
      const { href } = this.$router.resolve({
        path: '/',
      });
      window.open(href,'_self')
    }
  }
}
</script>

<style scoped>
  .logo {
    float: left;
    margin-top: 15px;
    margin-left: 20px;
  }

  .logoText {
    float: left;
    margin-top: 10px;
  }
</style>